<?php
class Mageex_Robot_Helper_Config extends Mage_Core_Helper_Abstract
{
	protected $_storeId;
	public function __construct()
	{
		$this->_storeId = Mage::app()->getStore()->getId();
	}
	
	public function getAffKey()
	{
		return Mage::getStoreConfig('robot/amazon/affiliate', $this->_storeId);
	}
	public function getApiKey()
	{
		return Mage::getStoreConfig('robot/amazon/apikey', $this->_storeId);
	}
	public function getSecretKey()
	{
		return Mage::getStoreConfig('robot/amazon/secretkey', $this->_storeId);
	}
	public function getEnableRss()
	{
		return Mage::getStoreConfig('robot/rss/enabled', $this->_storeId);
	}
	public function getSite()
	{
		return Mage::getStoreConfig('robot/amazon/website', $this->_storeId);
	}
	public function getSkip()
	{
		return Mage::getStoreConfig('robot/amazon/skipproduct', $this->_storeId);
	}
	public function getDesLength()
	{
		return Mage::getStoreConfig('robot/amazon/deslength', $this->_storeId);
	}
	//Ebay
	public function ebayCountry()
	{
		return Mage::getStoreConfig('robot/ebay/country', $this->_storeId);
	}
	public function ebaySortBy()
	{
		return Mage::getStoreConfig('robot/ebay/sortby', $this->_storeId);
	}
	public function ebayLanguage()
	{
		return Mage::getStoreConfig('robot/ebay/language', $this->_storeId);
	}
	public function ebayAffKey()
	{
		return Mage::getStoreConfig('robot/ebay/affiliate', $this->_storeId);
	}
}